package net.fdukedom.o3i.icq;

/**
 *
 * @author duke
 */
public enum FlapByteOrder {

    /**
     * Command start position.
     */
    COMMAND_START(0),
    
    /**
     * Channel id position.
     */
    CHANNEL_ID_BYTE(1),
    
    /**
     * Position of the start byte of sequence number.
     */
    SEQUENCE_NUMBER_START_BYTE(2),
       
    /**
     * Position of the start byte of data size.
     */
    DATA_LENGTH_START_BYTE(4);    
    
    /**
     * Byte position.
     */
    private int position;
    
    private FlapByteOrder(int position) {       
        this.position = position;
    }

    public int getPosition() {
        return position;
    }   
    
}
